package com.domain;

/**
 * 描述
 * 时间 2017-10-23 20:32
 * 作者 肖亦鸣
 */
public class Task {
	private int id;
	private int index;
	private Function function;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public Function getFunction() {
		return function;
	}

	public void setFunction(Function function) {
		this.function = function;
	}

	@Override
	public String toString() {
		return "Task{" +
				"id=" + id +
				", index=" + index +
				'}';
	}
}
